﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Pigg.Model
{
    [DataContract]
    public class MenuItem
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public string Title { get; set; }

        /// <summary>
        /// example: /admin
        /// </summary>
        [DataMember]
        public string Url { get; set; }
        [DataMember]
        public decimal Order { get; set; }

        /// <summary>
        /// example: app/dashboard/dashboard.html
        /// </summary>
        [DataMember]
        public string TemplateUrl { get; set; }

        /// <summary>
        /// example: <i class="icon-dashboard"></i> Dashboard
        /// </summary>
        [DataMember]
        public string Content { get; set; }
        public MenuContainer MenuContainer { get; set; }
    }
}
